package com.xxx.demo.tiaoJian;

import lombok.Data;

@Data
public class NewsTiaoJian {
    private Integer id;
    private String news;
    private String des;
    private Integer pageNo;
    private Integer pageSize;
    private Integer totalPages;
    private Integer getPageStart(){
        return (pageNo-1)*pageSize;
    }
}
